import 'package:flutter/material.dart';
import 'package:xbr_gaode_amap/base/amap_flutter_base.dart';
// import 'package:xbr_gaode_navi_amap/amap/base/amap_flutter_base.dart';

enum InfoType {
  text,
  address,
  img,
}

class InfoItem {
  String label;
  String value;
  TextStyle? valueTextStyle;
  final InfoType type;

  /// 经纬度
  ///
  /// 当[InfoType]为[InfoType.address]时，传入[latLng]不是null时可调到第三方地图
  LatLng? latLng;

  InfoItem(this.label, this.value,
      {this.valueTextStyle, this.type = InfoType.text, this.latLng});
}
